package com.bcinfo.iccard.model;

import java.sql.Timestamp;
import java.util.Date;

/**
 * 游客消费记录 <br/>
 * <p>
 * Description:<br/>
 * <p>
 * TODO 详细描述
 * 
 * <p>
 * For Examples <br/>
 * 
 * <PRE>
 *      TODO 代码使用示例
 * </PRE>
 * <p>
 */
public class ExpenseRecord
{
    /**
     * @Fields recordId : 消费记录ID
     */
    private Long      recordId;

    /**
     * @Fields merchantEncode : 商家编码
     */
    private String    merchantEncode;

    /**
     * @Fields cardNum : 卡号
     */
    private String    cardNum;

    /**
     * @Fields posCode : POS机编码
     */
    private String    posCode;

    /**
     * @Fields cardType : 卡类型 0：套餐卡: 1：充值卡
     */
    private Short     cardType;

    /**
     * @Fields expenseAmount : 消费金额
     */
    private Float     expenseAmount;

    /**
     * @Fields expenseTime : 刷卡时间
     */
    private Date      expenseTime;

    /**
     * @Fields expensiveStatus : 消费状态 0：撤销 1：消费
     */
    private Short     expensiveStatus;
    /**
     * @Fields serialNumber : 流水号
     */
    private String    serialNumber;

    /**
     * @Fields accountAmount : 待结算金额
     */
    private Float     accountAmount;

    /**
     * @Fields isAccount : 是否已结算 0：未结算 1：已结算
     */
    private Short     isAccount;

    /**
     * @Fields accountTime : 结算时间
     */
    private Timestamp accountTime;

    /**
     * @Fields merchantName : 虚拟属性,所属商家
     */
    private String    merchantName;

    public Long getRecordId()
    {
        return recordId;
    }

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public String getMerchantEncode()
    {
        return merchantEncode;
    }

    public void setMerchantEncode(String merchantEncode)
    {
        this.merchantEncode = merchantEncode;
    }

    public String getCardNum()
    {
        return cardNum;
    }

    public void setCardNum(String cardNum)
    {
        this.cardNum = cardNum;
    }

    public String getPosCode()
    {
        return posCode;
    }

    public void setPosCode(String posCode)
    {
        this.posCode = posCode;
    }

    public Short getCardType()
    {
        return cardType;
    }

    public void setCardType(Short cardType)
    {
        this.cardType = cardType;
    }

    public Float getExpenseAmount()
    {
        return expenseAmount;
    }

    public void setExpenseAmount(Float expenseAmount)
    {
        this.expenseAmount = expenseAmount;
    }

    public Date getExpenseTime()
    {
        return expenseTime;
    }

    public void setExpenseTime(Date expenseTime)
    {
        this.expenseTime = expenseTime;
    }

    public Short getExpensiveStatus()
    {
        return expensiveStatus;
    }

    public void setExpensiveStatus(Short expensiveStatus)
    {
        this.expensiveStatus = expensiveStatus;
    }

    public String getSerialNumber()
    {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber)
    {
        this.serialNumber = serialNumber;
    }

    public Float getAccountAmount()
    {
        return accountAmount;
    }

    public void setAccountAmount(Float accountAmount)
    {
        this.accountAmount = accountAmount;
    }

    public Short getIsAccount()
    {
        return isAccount;
    }

    public void setIsAccount(Short isAccount)
    {
        this.isAccount = isAccount;
    }

    public Timestamp getAccountTime()
    {
        return accountTime;
    }

    public void setAccountTime(Timestamp accountTime)
    {
        this.accountTime = accountTime;
    }

    public String getMerchantName()
    {
        return merchantName;
    }

    public void setMerchantName(String merchantName)
    {
        this.merchantName = merchantName;
    }

    @Override
    public String toString()
    {
        return "ExpenseRecord [recordId=" + recordId + ", merchantEncode=" + merchantEncode + ", cardNum=" + cardNum
                + ", posCode=" + posCode + ", cardType=" + cardType + ", expenseAmount=" + expenseAmount
                + ", expenseTime=" + expenseTime + ", expensiveStatus=" + expensiveStatus + ", serialNumber="
                + serialNumber + ", accountAmount=" + accountAmount + ", isAccount=" + isAccount + ", accountTime="
                + accountTime + ", merchantName=" + merchantName + "]";
    }

}